package br.com.commons.utility.exception;

import java.util.ArrayList;
import java.util.List;

import br.com.commons.utility.message.Message;

public class AppValidatorException extends Exception {
	
	private static final long serialVersionUID = -8292109401644932710L;
	
	private List<Message> messages = new ArrayList<Message>();
	
	public AppValidatorException(List<Message> messages){
		this.messages = messages;
	}
	
	public List<Message> getMessages(){
		return messages;
	}
	
}
